package com.spring.common.web.model;

import java.math.BigDecimal;
import java.util.Date;

public class RechargecardApplication {
	public String getRechargecardID() {
		return rechargecardID;
	}

	public void setRechargecardID(String rechargecardID) {
		this.rechargecardID = rechargecardID;
	}

	private String rechargecardID;
	
    private String id;

    private String cUserId;

    private Integer payStatusCode;

    private String userName;

    private String identityCard;

    private String phone;

    private BigDecimal paidAmount;

    private BigDecimal paddingAmount;

    private Date applyTime;

    private Date applyExpireTime;

    private String rechargeNumber;

    private String opertorId;

    private String auditorId;

    private BigDecimal point;

    private String desc;

    private Integer applyWayCode;

    private String cancelReason;

    private BigDecimal totalAmount;

    private String operatorName;

    private String auditorName;

    private Integer iscancelled;

    private BigDecimal userGetAmount;

    private String consumeRecommendid;

    private String consumeRecommendName;

    private String customAssistid;

    private String customAssistName;

    private String kidsParkid;

    private BigDecimal discount;

    private Date beginTime;

    private Date endTime;

    private String consumeRecommendDeptid;

    private String consumeRecommendDeptName;

    private String auditeddeptid;

    private String auditeddeptname;

    private String auditeduserid;

    private String auditedusername;

    private Date auditedtime;

    private Integer rechargecardcategory;

    private Date createdtime;

    private Date changedtime;

    private String initialoperatorid;

    private String initialoperatorname;

    private String operatorid;

    private String operatorname;

    private Integer entityavailablestate;

    private String orderid;
    
    public void setData(Contract contract){
    	this.setApplyWayCode(Integer.parseInt(contract.getApplyWayCode()));    	
    	this.setConsumeRecommendDeptName(contract.getConsume_recommend_dept_name());
    	this.setConsumeRecommendDeptid(contract.getConsume_recommend_deptID());
    	this.setConsumeRecommendName(contract.getConsume_recommend_name());
    	this.setConsumeRecommendid(contract.getConsume_recommendID());
    	this.setCustomAssistName(contract.getCustom_assist_name());
    	this.setCustomAssistid(contract.getCustom_assistID());
    	this.setKidsParkid(contract.getKids_park_id());
    };

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getcUserId() {
        return cUserId;
    }

    public void setcUserId(String cUserId) {
        this.cUserId = cUserId == null ? null : cUserId.trim();
    }

    public Integer getPayStatusCode() {
        return payStatusCode;
    }

    public void setPayStatusCode(Integer payStatusCode) {
        this.payStatusCode = payStatusCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard == null ? null : identityCard.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public BigDecimal getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(BigDecimal paidAmount) {
        this.paidAmount = paidAmount;
    }

    public BigDecimal getPaddingAmount() {
        return paddingAmount;
    }

    public void setPaddingAmount(BigDecimal paddingAmount) {
        this.paddingAmount = paddingAmount;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getApplyExpireTime() {
        return applyExpireTime;
    }

    public void setApplyExpireTime(Date applyExpireTime) {
        this.applyExpireTime = applyExpireTime;
    }

    public String getRechargeNumber() {
        return rechargeNumber;
    }

    public void setRechargeNumber(String rechargeNumber) {
        this.rechargeNumber = rechargeNumber == null ? null : rechargeNumber.trim();
    }

    public String getOpertorId() {
        return opertorId;
    }

    public void setOpertorId(String opertorId) {
        this.opertorId = opertorId == null ? null : opertorId.trim();
    }

    public String getAuditorId() {
        return auditorId;
    }

    public void setAuditorId(String auditorId) {
        this.auditorId = auditorId == null ? null : auditorId.trim();
    }

    public BigDecimal getPoint() {
        return point;
    }

    public void setPoint(BigDecimal point) {
        this.point = point;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc == null ? null : desc.trim();
    }

    public Integer getApplyWayCode() {
        return applyWayCode;
    }

    public void setApplyWayCode(Integer applyWayCode) {
        this.applyWayCode = applyWayCode;
    }

    public String getCancelReason() {
        return cancelReason;
    }

    public void setCancelReason(String cancelReason) {
        this.cancelReason = cancelReason == null ? null : cancelReason.trim();
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName == null ? null : operatorName.trim();
    }

    public String getAuditorName() {
        return auditorName;
    }

    public void setAuditorName(String auditorName) {
        this.auditorName = auditorName == null ? null : auditorName.trim();
    }

    public Integer getIscancelled() {
        return iscancelled;
    }

    public void setIscancelled(Integer iscancelled) {
        this.iscancelled = iscancelled;
    }

    public BigDecimal getUserGetAmount() {
        return userGetAmount;
    }

    public void setUserGetAmount(BigDecimal userGetAmount) {
        this.userGetAmount = userGetAmount;
    }

    public String getConsumeRecommendid() {
        return consumeRecommendid;
    }

    public void setConsumeRecommendid(String consumeRecommendid) {
        this.consumeRecommendid = consumeRecommendid == null ? null : consumeRecommendid.trim();
    }

    public String getConsumeRecommendName() {
        return consumeRecommendName;
    }

    public void setConsumeRecommendName(String consumeRecommendName) {
        this.consumeRecommendName = consumeRecommendName == null ? null : consumeRecommendName.trim();
    }

    public String getCustomAssistid() {
        return customAssistid;
    }

    public void setCustomAssistid(String customAssistid) {
        this.customAssistid = customAssistid == null ? null : customAssistid.trim();
    }

    public String getCustomAssistName() {
        return customAssistName;
    }

    public void setCustomAssistName(String customAssistName) {
        this.customAssistName = customAssistName == null ? null : customAssistName.trim();
    }

    public String getKidsParkid() {
        return kidsParkid;
    }

    public void setKidsParkid(String kidsParkid) {
        this.kidsParkid = kidsParkid == null ? null : kidsParkid.trim();
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getConsumeRecommendDeptid() {
        return consumeRecommendDeptid;
    }

    public void setConsumeRecommendDeptid(String consumeRecommendDeptid) {
        this.consumeRecommendDeptid = consumeRecommendDeptid == null ? null : consumeRecommendDeptid.trim();
    }

    public String getConsumeRecommendDeptName() {
        return consumeRecommendDeptName;
    }

    public void setConsumeRecommendDeptName(String consumeRecommendDeptName) {
        this.consumeRecommendDeptName = consumeRecommendDeptName == null ? null : consumeRecommendDeptName.trim();
    }

    public String getAuditeddeptid() {
        return auditeddeptid;
    }

    public void setAuditeddeptid(String auditeddeptid) {
        this.auditeddeptid = auditeddeptid == null ? null : auditeddeptid.trim();
    }

    public String getAuditeddeptname() {
        return auditeddeptname;
    }

    public void setAuditeddeptname(String auditeddeptname) {
        this.auditeddeptname = auditeddeptname == null ? null : auditeddeptname.trim();
    }

    public String getAuditeduserid() {
        return auditeduserid;
    }

    public void setAuditeduserid(String auditeduserid) {
        this.auditeduserid = auditeduserid == null ? null : auditeduserid.trim();
    }

    public String getAuditedusername() {
        return auditedusername;
    }

    public void setAuditedusername(String auditedusername) {
        this.auditedusername = auditedusername == null ? null : auditedusername.trim();
    }

    public Date getAuditedtime() {
        return auditedtime;
    }

    public void setAuditedtime(Date auditedtime) {
        this.auditedtime = auditedtime;
    }

    public Integer getRechargecardcategory() {
        return rechargecardcategory;
    }

    public void setRechargecardcategory(Integer rechargecardcategory) {
        this.rechargecardcategory = rechargecardcategory;
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getChangedtime() {
        return changedtime;
    }

    public void setChangedtime(Date changedtime) {
        this.changedtime = changedtime;
    }

    public String getInitialoperatorid() {
        return initialoperatorid;
    }

    public void setInitialoperatorid(String initialoperatorid) {
        this.initialoperatorid = initialoperatorid == null ? null : initialoperatorid.trim();
    }

    public String getInitialoperatorname() {
        return initialoperatorname;
    }

    public void setInitialoperatorname(String initialoperatorname) {
        this.initialoperatorname = initialoperatorname == null ? null : initialoperatorname.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public String getOperatorname() {
        return operatorname;
    }

    public void setOperatorname(String operatorname) {
        this.operatorname = operatorname == null ? null : operatorname.trim();
    }

    public Integer getEntityavailablestate() {
        return entityavailablestate;
    }

    public void setEntityavailablestate(Integer entityavailablestate) {
        this.entityavailablestate = entityavailablestate;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid == null ? null : orderid.trim();
    }
}